home *** CD-ROM | disk | FTP | other *** search
- /*
- @Node Header
- @Next Macro
-
- Code: rexxcon.rexx
- Author: Russell Leighton
- Revision: 16 Feb 1994
-
- Comments:
-
- This script is used by ami2d.rexx to setup the console window. It is only
- required by ami2d.rexx and should not be executed as a standalone script.
- It does, however, serve as an example script for rexxcon.
-
- @EndNode
- @Node Macro
- */
-
- options results
-
- address command
- if ~show('ports',"RXC_AMI2D") then do
- 'run ami2d:bin/rexxcon -hRXC_AMI2D'
- 'waitforport RXC_AMI2D'
- end
-
- address rxb_main 'open'
- parse var result ix iy iw ih
-
- address rxc_ami2d
-
- /* For no WShell, the next line should be uncommented */
-
- 'open(con,0,-50,'0 - iw',50,Ami2D/noclose/nosize/nodepth/noalt/nonblock,AMI2D)'
-
- /* For WShell (CNC: device), the next line should be uncommented */
-
- /* 'open(cnc,0,-50,'0 - iw',50,Ami2D/noclose/nosize/nodepth/noalt/nonblock/menu#ami2d,AMI2D)' */
-
- 'alias refine=!ami2d:macros/geom/refine'
- 'alias transition=!ami2d:macros/geom/transition'
- 'alias equiv=!ami2d:macros/solve/equ2d'
- 'alias remove=!ami2d:macros/solve/rem2d'
- 'alias optimize=!ami2d:macros/solve/opt2d'
- 'alias solve=!ami2d:macros/solve/lin2d'
- 'alias nlsolve=!ami2d:macros/solve/nln2d'
- 'alias iterate=!ami2d:test/iterate'
- 'alias post=!ami2d:macros/process/post2d'
- 'alias status=!ami2d:rexx/solstat'
- 'alias quit=stop'
- 'alias bye=stop'
- 'alias exit=stop'
-
- exit
-